if (type) {
return;
}
- if ((args == "OutputFromUnit")) {
+ if (args == "OutputFromUnit") {
xasprintf(&my_gdx_info->from_device.path, "%s%c%s",
mountpoint, GB_PATHSEP, path);
my_gdx_info->from_device.basename = xstrdup(base);
my_gdx_info->from_device.path,
my_gdx_info->from_device.basename,
my_gdx_info->from_device.extension);
- } if ((args == "InputToUnit")) {
+ } else if (args == "InputToUnit") {
xasprintf(&my_gdx_info->to_device.path, "%s%c%s",
mountpoint, GB_PATHSEP, path);
my_gdx_info->to_device.basename = xstrdup(base);